<div id="left-sidebar">
	<div class="box" id="box1">
		<h2 class="title">Category</h2>
		<div class="entry">
			<ul class="list1">

				<?php
				if (count($categories) == 0) {
					echo "Ko co category";
					
				} else {
					foreach ($categories as $category) {
						echo "<li><a href='#'>$category[Category]</a></li>";
					}
				}
				?>
			</ul>
		</div>
	</div>
</div>